import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SPetStorage
    
    export  class SPetStorage
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.playerId);
            arg1.writeString(this.playerName);
            arg1.writeString(this.uid);
            arg1.writeString(this.name);
            arg1.writeInt(this.sex);
            arg1.writeInt(this.growth);
            arg1.writeInt(this.talent);
            arg1.writeInt(this.code);
            arg1.writeInt(this.type);
            arg1.writeInt(this.rgrowth);
            arg1.writeInt(this.rtalent);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.playerId = arg1.readInt();
            this.playerName = arg1.readString();
            this.uid = arg1.readString();
            this.name = arg1.readString();
            this.sex = arg1.readInt();
            this.growth = arg1.readInt();
            this.talent = arg1.readInt();
            this.code = arg1.readInt();
            this.type = arg1.readInt();
            this.rgrowth = arg1.readInt();
            this.rtalent = arg1.readInt();
            return;
        }

        public /* var */playerId: int;

        public /* var */playerName: string;

        public /* var */uid: string;

        public /* var */name: string;

        public /* var */sex: int;

        public /* var */growth: int;

        public /* var */talent: int;

        public /* var */code: int;

        public /* var */type: int;

        public /* var */rgrowth: int;

        public /* var */rtalent: int;
    }
